import request from '@/utils/request'

export function getWhitelistInput(data) {
  return request({
    url: 'whitelistInput/page',
    method: 'post',
    data
  })
}

export function getWhitelistInputDetail(data) {
  return request({
    url: '/whitelistInput/' + data,
    method: 'get'
  })
}

export function uploadWhitelistInput(data) {
  return request({
    url: '/whitelistInput/upload',
    method: 'post',
    data
  })
}
